package com.demo.gulimall.order.feign;

import com.demo.gulimall.common.utils.R;
import com.demo.gulimall.order.vo.MemberAddressVo;
import com.demo.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author Chen Yuan
 * @create 2023-06-26  16:41
 */
@FeignClient("mall-cart")
public interface CartFeignService {

	@GetMapping("/cart/getCheckedItem")
	public R<List<OrderItemVo>> getCheckedCartItemsByUserId(@RequestParam("userId") Long userId);
}
